	#{extends 'main.html' /}
#{set title:'acceptTopicRequest View' /}




<script language="javascript" type="text/javascript">
function post1(form){

 if(document.getByID("flag")= true){
  redirect Topics.creatingTopic();

} else {
alert("ERROR!");
}
}
</script>


<form action="@{Topics.acceptTopicRequest()}" method="GET">
	Title:
	<br>
	${title}
	<br>
Type:	
<br>
${type}
	<br>
	
	
<input type="hidden" id="entityId" value=${entityId} />	
    <br>
    <input type="hidden" id="requestId" value=${requestId} />	
    <br>
    
    <input type="submit" value="Accept Request"  onClick = post1(this.form) />
</form> 
